//
// main.cpp for  in /home/goldbe_y//tek3/Projets/Maths/302graphe
// 
// Made by yoni goldberg
// Login   <goldbe_y@epitech.net>
// 
// Started on  Mon Sep 24 10:48:42 2012 yoni goldberg
// Last update Wed Sep 26 19:51:54 2012 yoni goldberg
//

#include "Maths.hpp"

int	main(int ac, char **av)
{
  if (ac == 2)
    {
      Maths	test(av[1]);

      std::cout << "Fichier : " << av[1] << std::endl;
      std::cout << "Nombre d'arc : " << test.get_line() << std::endl;
      std::cout << "Nombre de sommets : " << test.get_sommets() << std::endl;
      std::cout << "Liste des arcs : " << std::endl;
      test.aff_tab(test.get_tab());
      std::cout << std::endl;
      std::cout << "Matrice d'adjacence : " << std::endl;
      test.aff_matrix(test.get_first_matrix());
      std::cout << "Matrice d'adjacence de G2: " << std::endl;
      test.aff_matrix(test.get_second_matrix());
      std::cout << "Matrice d'accessibilite : " << std::endl;
      test.aff_matrix(test.get_third_matrix());
      std::cout << "Matrice des plus court chemins : " << std::endl;
      test.aff_matrix(test.get_forth_matrix());
    }
  else
    std::cout << "Usage : ./302test file" << std::endl;
  return 0;
}
